package com.zp.base.entity.labMaintenance.bo;

import com.zp.common.core.entity.BaseEntity;
import com.zp.common.core.validate.AddGroup;
import com.zp.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 检验项目与诊疗项目对照业务对象
 *
 * @author zhang peng
 * @ date 2023-05-29
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class LabVsClinicBo extends BaseEntity {

    /**
     * 主键
     */
    private String vsId;

    /**
     * 检验类型ID
     */
    @NotBlank(message = "检验类型ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private String labId;

    /**
     * 诊疗项目ID
     */
    @NotBlank(message = "诊疗项目ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private String clinicId;

    /**
     * 检验管
     */
    @NotBlank(message = "检验管不能为空", groups = {AddGroup.class, EditGroup.class})
    private String labTube;

    /**
     * 标本
     */
    @NotBlank(message = "标本不能为空", groups = {AddGroup.class, EditGroup.class})
    private String specimen;

    /**
     * 排序
     */
    @NotNull(message = "排序不能为空", groups = {AddGroup.class, EditGroup.class})
    private Integer sort;

    /**
     * 执行科室
     */
    private String performedBy;


    /**
     * 备注信息
     */
    private String remarks;

    private String delFlag;

    private String itemName;

    private String orgId;

    /**
     * 标本名称
     */
    private String specimenName;

    /**
     * 检验管名称
     */
    private String labTubeName;

    /**
     * 项目数量
     */
    private int amount;

}
